<template>
  <h1>属性绑定练习</h1>
  <input type="text" v-bind:value="nu1">
<!-- 简写形式-->
  <input type="text" :value="nu1">
  <input type="text" value="nu1">

  <a href="url">超链接1</a>
  <a :href="url">超链接1</a>

</template>

<script setup>
import {ref} from "vue";

const nu1=ref(66622);
const url=ref("http://www.baidu.com");

url.value="http://www.jd.com";
</script>

<style scoped>

</style>